package com.hmall.mapper;

import com.hmall.model.SysUserCertification;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserCertificationMapper extends MyMapper<SysUserCertification> {
    Integer selectApplyingCount(@Param("userId") Integer userId);

    Integer selectApplySuccessCount(@Param("userId") Integer userId);

    SysUserCertification selectLastApply(@Param("userId")Integer userId);

    Integer selectApplyCount(@Param("userId") Integer userId);
}